package sjtu.rfid.rri.services.ale.reading;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
public class ECReports implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 2829500742041266361L;

	private String specName;
	private Date date;
	private String ALEID;
	private long totalMilliseconds;
	private ECInitiationCondition initiationCondition;
	private ECTrigger initiationTrigger;
	private ECTerminationCondition terminationCondition;
	private ECTrigger terminationTrigger;
	private ECSpec ECSpec;
	private List<ECReport> reports;

	public String getSpecName() {
		return specName;
	}

	public void setSpecName(String specName) {
		this.specName = specName;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public String getALEID() {
		return ALEID;
	}

	public void setALEID(String aleid) {
		ALEID = aleid;
	}

	public long getTotalMilliseconds() {
		return totalMilliseconds;
	}

	public void setTotalMilliseconds(long totalMilliseconds) {
		this.totalMilliseconds = totalMilliseconds;
	}

	public ECInitiationCondition getInitiationCondition() {
		return initiationCondition;
	}

	public void setInitiationCondition(ECInitiationCondition initiationCondition) {
		this.initiationCondition = initiationCondition;
	}

	public ECTrigger getInitiationTrigger() {
		return initiationTrigger;
	}

	public void setInitiationTrigger(ECTrigger initiationTrigger) {
		this.initiationTrigger = initiationTrigger;
	}

	public ECTerminationCondition getTerminationCondition() {
		return terminationCondition;
	}

	public void setTerminationCondition(
			ECTerminationCondition terminationCondition) {
		this.terminationCondition = terminationCondition;
	}

	public ECTrigger getTerminationTrigger() {
		return terminationTrigger;
	}

	public void setTerminationTrigger(ECTrigger terminationTrigger) {
		this.terminationTrigger = terminationTrigger;
	}

	public ECSpec getECSpec() {
		return ECSpec;
	}

	public void setECSpec(ECSpec spec) {
		ECSpec = spec;
	}

	public List<ECReport> getReports() {
		return reports;
	}

	public void setReports(List<ECReport> reports) {
		this.reports = reports;
	}

}
